package com.csproj.basic.service.mapper;

import com.csproj.basic.domain.FixedReadingDevice;
import com.csproj.basic.service.dto.FixedReadingDeviceDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity FixedReadingDevice and its DTO FixedReadingDeviceDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface FixedReadingDeviceMapper extends EntityMapper<FixedReadingDeviceDTO, FixedReadingDevice> {

    

    

    default FixedReadingDevice fromId(String id) {
        if (id == null) {
            return null;
        }
        FixedReadingDevice fixedReadingDevice = new FixedReadingDevice();
        fixedReadingDevice.setId(id);
        return fixedReadingDevice;
    }
}
